Animation

using the part in-scene § properties § mini-toolbar items § tips for use

 

Using the part in-scene

What is the animation part for?

The animation part can be used to play animations within your model. Each animation part can store a number of different animations, which can be played one at a time. You can create your own animations and decide how they should be played.

 

 

Playing animations

Animations can be played in several ways:

 

  • By clicking

Click on the animation part to play an animation; click again to play the next animation.  If the part only has one animation, clicking will play the animation again. (Note that the part settings can also be changed so that clicking does nothing.)

 

  • Through the context menu

Use the animation part's context menu to select the specific animation you wish to play.  The names of the available animations in this part will be listed inside its Play menu.

 

 

Depending on the settings in the properties pane of the animation part, each animation will stop playing when it is finished or it will continue to play in a loop.

 

 

Adding animation files

Each animation is made up of a sequence of individual images, or frames, that are played in the correct order by the animation part. To add animations to the animation part, you simply need to tell the animation part where the image files are stored on your computer or network.  

  1. Press the 'Add animations' button in the Animations section of the part's Properties pane.

  2. Choose a directory from anywhere on your computer or network using the Choose a directory dialog box. This directory should contain the animation files.

  3. Any animation files contained in the directory will be loaded into the animation part automatically. Based on the image filenames, the part determines how many different animations there are and sorts the images into the correct order.  (See next section for important instructions on naming files for use in the animation part.)

  4. The animations can now be played by one of the methods listed above.

 

 

Naming animation files

If you wish to create your own animations, the image filenames must follow a specific pattern to be recognised as animation files by the animation part:  X_YY.png, where X stands for the animation name and YY stands for the frame number.  

 

Also note:

  • The animation part will ignore any files that do not match this pattern in the directory you have selected.

  • In addition to .png files, the animation part will also recognise: .bmp, .xpm, .jpg, and .jpeg.

  • In the file nam, the animation name must be separated from the frame number by an underscore (_).

  • Spaces or special characters, such as "& ( )  #", are not allowed, but if you wish for spaces to appear in the animation name, you may use underscores (e.g., Open_door_001.png). The underscores will be removed when the files are loaded into the animation part.

 

The following table shows some example image files and the resulting animations that would be recognised by the animation part, based on the naming pattern.

 

Image files

Resulting animations

Wave_01.png

Wave_02.png

Wave_03.png

Wave_04.png

Wave

Red_01.bmp

Yellow_01.bmp

Yellow_02.bmp

Blue_01.bmp

Red

Yellow

Blue

Close_door_01.jpg

Close_door_02.jpg

Close_door_03.jpg

Open_door_01.jpg

Open_door_02.jpg

Open_door_03.jpg

Close door

Open door

 

 

Properties

The following properties can be found in the Properties pane when the part is selected.

 

Animations

  • List of animations

This box lists the names of all animations available in the part. You can edit any animation name by clicking on the name.

  • Add animations

 

Use this button to add animations.

  • Remove selected

Use this button to remove the selected animation.

 

Looping

  • Play an animation:

Control whether the animations play once only or in a loop.

    • once only

Use this option to set the animations to play once only.

    • in a loop

Use this option to set the animations to play continuously.

 

Clicking

  • Clicking on animation:

Control how the part responds to clicking.

    • plays next animation

Use this option to set the animation part to play the next animation when clicked.

    • does nothing

Use this option to set the animation part to do nothing when clicked.

 

 

Mini-toolbar Items

The mini-toolbar appears alongside this part when the cursor moves over it.  The following mini-toolbar items are available for this part:

 

 

 

Drag area  

 

Click and drag on this area to move the part.

 

 

Shortcut menu

 

Use this button to open the part's shortcut menu.

 

 

Tips for Use

  • To prevent the mini-toolbar from appearing when moving the cursor over this part, select "Hide toolbar" from the shortcut menu.  The mini-toolbar can be restored by selecting "Show toolbar" from the shortcut menu.  (When the mini-toolbar is turned off, you can open the shortcut menu by right-clicking [control-click on Mac]).

  • If you change the source images you used to create the animations, you must add them to the part again before the changes can be seen.

 

 

Related Topics